package tt.dz.service.imp.sys;

import org.springframework.stereotype.Component;
import tt.dz.util.OrderConstant;

import java.util.Map;

@Component
public class IdentifyCardBillProcess extends AbstractCardBillProcess
{
	@Override
	protected void setCardType(Map<String, String> map)
	{
		map.put("cardType", OrderConstant.CardType.IDENTITY_CARD.value());
	}

	@Override
	protected boolean hasOnlineWhiteList()
	{
		return false;
	}

	@Override
	protected boolean useChargersBill(boolean allowChargerGenerateBill)
	{
		return allowChargerGenerateBill;
	}

	@Override
	protected OrderConstant.BizSystemCode getBillSource()
	{
		return OrderConstant.BizSystemCode.Dz;
	}
}
